import java.awt.Point;


public class ControllerMenu extends AbstractController {
	
	public void buttonPressedSinglePlayer() {		
		setModelProperty("PanelID", ModelFrameMain.PANEL_ID_MAPSELECTOR);
		setModelProperty("Game",1);
	}
	
	public void buttonPressedMultiPlayers() {
		setModelProperty("PanelID", ModelFrameMain.PANEL_ID_MAPSELECTOR);
		setModelProperty("Game",2);
	}
	
	public void buttonPressedOptions() {
		
	}
	
	public void buttonPressedExit() {
		
		
		System.exit(0);
		
	}
	
	public void buttonPressedReturnToMenu() {
		setModelProperty("PanelID", ModelFrameMain.PANEL_ID_MENU);
	}
	
	public void buttonPressedGameStart() {
		setModelProperty("PanelID", ModelFrameMain.PANEL_ID_GAME);
	}
	
	public void selectMapShiftRight(Integer currentlySelectedMapIndex) {
		setModelProperty("SelectedMapIndex", currentlySelectedMapIndex + 1);
	}
	
	public void selectMapShiftLeft(Integer currentlySelectedMapIndex) {
		setModelProperty("SelectedMapIndex", currentlySelectedMapIndex - 1);
	}
	
	public void mouseMoved(Point mousePosition) {
		setModelProperty("MousePosition", mousePosition);
	}

}
